package com.kmxd.ams.core.common.constant;

/**
 * 流程常用常量
 *
 * @author ZuoLG
 */
public class UreportConst {

  /** 默认xml */
  public static final String DEF_XML =
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
          + "<ureport>\n"
          + "    <cell expand=\"None\" name=\"A1\" row=\"1\" col=\"1\" col-span=\"4\">\n"
          + "        <cell-style font-size=\"22\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[业务报表]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"A2\" row=\"2\" col=\"1\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[主键ID]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"B2\" row=\"2\" col=\"2\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[题名]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"C2\" row=\"2\" col=\"3\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[年度]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D2\" row=\"2\" col=\"4\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[备注]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"A3\" row=\"3\" col=\"1\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"主键ID\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"B3\" row=\"3\" col=\"2\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"文件题名\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"C3\" row=\"3\" col=\"3\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"年度\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D3\" row=\"3\" col=\"4\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"A4\" row=\"4\" col=\"1\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"B4\" row=\"4\" col=\"2\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"C4\" row=\"4\" col=\"3\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D4\" row=\"4\" col=\"4\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <row row-number=\"1\" height=\"38\" band=\"title\"/>\n"
          + "    <row row-number=\"2\" height=\"19\" band=\"title\"/>\n"
          + "    <row row-number=\"3\" height=\"18\"/>\n"
          + "    <row row-number=\"4\" height=\"18\"/>\n"
          + "    <column col-number=\"1\" width=\"101\"/>\n"
          + "    <column col-number=\"2\" width=\"134\"/>\n"
          + "    <column col-number=\"3\" width=\"116\"/>\n"
          + "    <column col-number=\"4\" width=\"47\"/>\n"
          + "    <datasource name=\"本机数据源\" type=\"buildin\">\n"
          + "        <dataset name=\"数据集\" type=\"sql\">\n"
          + "            <sql>\n"
          + "                <![CDATA[${\n"
          + "  if(param(\"dataId\")==null || param(\"dataId\")==''){\n"
          + "\t\treturn \"SELECT id AS 主键ID,title AS 文件题名,year AS 年度 FROM {} WHERE fonds_id =(:fondsId)\"\n"
          + "  }else{\n"
          + "\t\treturn \"SELECT id AS 主键ID,title AS 文件题名,year AS 年度 FROM {} WHERE fonds_id =(:fondsId) AND id IN (:dataId)\"\n"
          + "  }\n"
          + "}]]>\n"
          + "            </sql>\n"
          + "            <field name=\"主键ID\"/>\n"
          + "            <field name=\"文件题名\"/>\n"
          + "            <field name=\"年度\"/>\n"
          + "            <parameter name=\"dataId\" type=\"List\" default-value=\"0000\"/>\n"
          + "            <parameter name=\"fondsId\" type=\"String\" default-value=\"0000\"/>\n"
          + "        </dataset>\n"
          + "    </datasource>\n"
          + "    <paper type=\"A4\" left-margin=\"90\" right-margin=\"90\"\n"
          + "    top-margin=\"72\" bottom-margin=\"72\" paging-mode=\"fitpage\" fixrows=\"0\"\n"
          + "    width=\"595\" height=\"842\" orientation=\"portrait\" html-report-align=\"left\" bg-image=\"\" html-interval-refresh-value=\"0\" column-enabled=\"false\"></paper>\n"
          + "    <search-form form-position=\"up\">\n"
          + "        <grid show-border=\"false\" type=\"Grid2X2\" border-width=\"1\" border-color=\"#eee\">\n"
          + "            <col size=\"6\"/>\n"
          + "            <col size=\"6\"/>\n"
          + "        </grid>\n"
          + "    </search-form>\n"
          + "</ureport>";

  /** 默认xml */
  public static final String DEF_XML_BOX =
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
          + "<ureport>\n"
          + "    <cell expand=\"None\" name=\"A1\" row=\"1\" col=\"1\" col-span=\"4\">\n"
          + "        <cell-style font-size=\"22\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            业务报表\n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"A2\" row=\"2\" col=\"1\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            主键ID\n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"B2\" row=\"2\" col=\"2\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            年度\n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"C2\" row=\"2\" col=\"3\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            脊背\n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D2\" row=\"2\" col=\"4\">\n"
          + "        <cell-style font-size=\"9\" forecolor=\"0,0,0\" font-family=\"宋体\" bold=\"true\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            备注\n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"A3\" row=\"3\" col=\"1\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"年度\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"B3\" row=\"3\" col=\"2\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"年度\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"Down\" name=\"C3\" row=\"3\" col=\"3\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <dataset-value dataset-name=\"数据集\" aggregate=\"select\" property=\"脊背\" order=\"none\" mapping-type=\"simple\"></dataset-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D3\" row=\"3\" col=\"4\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            \n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"A4\" row=\"4\" col=\"1\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            \n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"B4\" row=\"4\" col=\"2\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            \n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"C4\" row=\"4\" col=\"3\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            \n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <cell expand=\"None\" name=\"D4\" row=\"4\" col=\"4\">\n"
          + "        <cell-style font-size=\"10\" align=\"center\" valign=\"middle\">\n"
          + "            <left-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <right-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <top-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "            <bottom-border width=\"1\" style=\"solid\" color=\"0,0,0\"/>\n"
          + "        </cell-style>\n"
          + "        <simple-value>\n"
          + "            <![CDATA[\n"
          + "            \n"
          + "        ]]>\n"
          + "        </simple-value>\n"
          + "    </cell>\n"
          + "    <row row-number=\"1\" height=\"38\" band=\"title\"/>\n"
          + "    <row row-number=\"2\" height=\"19\" band=\"title\"/>\n"
          + "    <row row-number=\"3\" height=\"18\"/>\n"
          + "    <row row-number=\"4\" height=\"18\"/>\n"
          + "    <column col-number=\"1\" width=\"101\"/>\n"
          + "    <column col-number=\"2\" width=\"134\"/>\n"
          + "    <column col-number=\"3\" width=\"116\"/>\n"
          + "    <column col-number=\"4\" width=\"47\"/>\n"
          + "    <datasource name=\"本机数据源\" type=\"buildin\">\n"
          + "        <dataset name=\"数据集\" type=\"sql\">\n"
          + "            <sql>\n"
          + "                <![CDATA[\n"
          + "                ${\n"
          + "  if(param(\"dataId\")==null || param(\"dataId\")==''){\n"
          + "\t\treturn \"SELECT `id` AS 主键ID,year AS 年度,back_width AS 脊背 FROM {} WHERE fonds_id =(:fondsId)\"\n"
          + "  }else{\n"
          + "\t\treturn \"SELECT `id` AS 主键ID,year AS 年度,back_width AS 脊背 FROM {} WHERE fonds_id =(:fondsId) AND id IN (:dataId)\"\n"
          + "  }\n"
          + "}\n"
          + "            ]]>\n"
          + "            </sql>\n"
          + "            <field name=\"年度\"/>\n"
          + "            <field name=\"脊背\"/>\n"
          + "            <parameter name=\"dataId\" type=\"List\" default-value=\"0000\"/>\n"
          + "            <parameter name=\"fondsId\" type=\"String\" default-value=\"0000\"/>\n"
          + "        </dataset>\n"
          + "    </datasource>\n"
          + "    <paper type=\"A4\" left-margin=\"90\" right-margin=\"90\"\n"
          + "    top-margin=\"72\" bottom-margin=\"72\" paging-mode=\"fitpage\" fixrows=\"0\"\n"
          + "    width=\"595\" height=\"842\" orientation=\"portrait\" html-report-align=\"left\" bg-image=\"\" html-interval-refresh-value=\"0\" column-enabled=\"false\"></paper>\n"
          + "    <search-form form-position=\"up\">\n"
          + "        <grid show-border=\"false\" type=\"Grid2X2\" border-width=\"1\" border-color=\"#eee\">\n"
          + "            <col size=\"6\"/>\n"
          + "            <col size=\"6\"/>\n"
          + "        </grid>\n"
          + "    </search-form>\n"
          + "</ureport>";
}
